package cn.yyh.order.service;

import cn.yyh.basic.service.IBaseService;
import cn.yyh.basic.utils.PageInfo;
import cn.yyh.order.domain.AdoptOrder;
import cn.yyh.order.query.AdoptOrderQuery;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> map, Long id);

    PageInfo<AdoptOrder> queryByAdmin(AdoptOrderQuery query, Long id);

    PageInfo<AdoptOrder> queryByUser(AdoptOrderQuery query, Long id);
}
